package org.jypj.dev.model;

import com.google.gson.Gson;

/**
 * 物品故障表
 *
 * @author chenyu
 */
public class ThingProblem implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private String id; //主键ID
    private String thingId; //物品ID
    private String thingName; //物品名称
    private String loginId; //登录ID
    private String createTime; //创建时间

    private String userName;//用户名称
    private String userNum;//用户编号
    private String roadName;//交路名称

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getThingId() {
        return this.thingId;
    }

    public void setThingId(String thingId) {
        this.thingId = thingId;
    }

    public String getThingName() {
        return this.thingName;
    }

    public void setThingName(String thingName) {
        this.thingName = thingName;
    }

    public String getLoginId() {
        return this.loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNum() {
        return userNum;
    }

    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    public String getRoadName() {
        return roadName;
    }

    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }

    @Override
    public String toString() {

        return new Gson().toJson(this);
    }

}